import TrainingVideos from './videos'
import TrainingVideosAdd from './videosAdd'
import TrainingVideosEdit from './videosEdit'
import TrainingVideosSearch from './videosSearch'
import TrainingVideosView from './videosView'

const components = [
  TrainingVideos,
  TrainingVideosAdd,
  TrainingVideosEdit,
  TrainingVideosSearch,
  TrainingVideosView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
